#box{
    position: relative;
    height: 200px;
    width: 300px;
    border: 3px solid #000;
    margin: 20px auto;
    font-weight: 600;
    font-size: 32px;
    overflow: hidden;
}
.imglist{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -1;

}
.imglist div{
    /* display: inline-block; */
    width: 300px;
    height: 100%;
    flex:0 0 300px
}
.img1{
    background-color: #ff0;
}
.img2{
    background-color: #f60;
}
.img3{
    background-color: #f30;
}
.img4{
    background-color: #0f9;
}
.right-button{
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.left-button{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.switch-button{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 4px solid #ccc;
}
.switch-button img{
    width: 100%;
    height: 100%;
}
.bottom-dots{
    position: absolute;
    /* background-color: #ccc; */
    height: 30px;
    display: flex;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-dots .dot{
    display: block;
    height: 20px;
    width: 20px;
    margin: 0 8px;
    border-radius: 50%;
    border:2px solid #ccc
    
}
.bottom-dots .dot.active{

    background-color: rgb(6, 90, 216);
    
}